---
title: clean_profiles.php: 'user_flag_profile' not found
author: notabug.org/aab
time: Wed, 08 Jul 2020 10:26:59 UTC
status: closed
---

author: notabug.org
time: Wed, 08 Jul 2020 10:26:59 UTC
content: -----
This one is only in khp; the same script works fine in gs.net: Deleting 2198:m455bPHP Fatal error: Uncaught Error: Class 'user_flag_profile' not found in /var/www/html/classes/Profile.php:991 Stack trace: #0 /var/www/html/scripts/clean_profiles.php(69): Profile->delete() #1 {main} thrown in /var/www/html/classes/Profile.php on line 991
-----

author: notabug.org
time: Tue, 21 Jul 2020 11:45:38 UTC
content: -----
That looks like an issue caused by the UserFlag plugin. Not sure why tho, php wasn't case sensitive the last time I checked, in any case, maybe this helps: https://notabug.org/diogo/gnu-social/commit/67780ca4a9841fbf0cd4d061325886eeea743644
-----

author: notabug.org
time: Tue, 21 Jul 2020 15:49:03 UTC
content: -----
Working now! :)
-----

author: notabug.org
time: Tue, 21 Jul 2020 22:25:16 UTC
content: -----
oh great, interesting.
-----
